.ant-pro-form-login-container {
  background: transparent !important;
  overflow: hidden !important;
}

.ant-pro-form-login-main {
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* 科技感登录框样式 - 修复版 */
.tech-login-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 80px;
  overflow: hidden;
}

.tech-login-box {
  width: 480px;
  padding: 40px;
  background: rgba(13, 28, 50, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 84, 255, 0.3);
  border: 1px solid rgba(77, 166, 255, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.tech-login-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(77, 166, 255, 0.1),
    rgba(77, 166, 255, 0),
    rgba(77, 166, 255, 0.1)
  );
  transform: rotate(30deg);
  pointer-events: none;
  z-index: 0;
}

.tech-login-header {
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.tech-login-header h2 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(77, 166, 255, 0.5);
}

.tech-login-line {
  height: 3px;
  width: 60px;
  background: linear-gradient(
    90deg,
    rgba(77, 166, 255, 0),
    rgba(77, 166, 255, 1),
    rgba(77, 166, 255, 0)
  );
  margin: 0 auto;
  animation: pulse 2s infinite;
}

/* 输入框样式修复 */
.tech-input {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(77, 166, 255, 0.3) !important;
  border-radius: 8px !important;
  height: 50px !important;
  transition: all 0.3s ease;
  margin-bottom: 20px !important;
}

.tech-input:hover,
.tech-input:focus {
  border-color: rgba(77, 166, 255, 0.8) !important;
  box-shadow: 0 0 15px rgba(77, 166, 255, 0.3) !important;
}

.tech-input input {
  color: white !important;
}

.tech-input input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* 图标样式 */
.tech-icon {
  color: rgba(77, 166, 255, 0.8) !important;
}

/* 按钮样式修复 */
.tech-login-button {
  height: 50px !important;
  border-radius: 8px !important;
  background: linear-gradient(90deg, #0062ff, #00a3ff) !important;
  border: none !important;
  color: white !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  box-shadow: 0 5px 15px rgba(0, 98, 255, 0.3) !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  /* margin-top: 10px !important; */
}

.tech-login-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0, 98, 255, 0.4) !important;
}

.tech-login-button:active {
  transform: translateY(1px) !important;
}

/* 修复表单内部元素的样式 */
.tech-login-box .ant-form-item {
  margin-bottom: 10px !important;
  overflow: hidden !important;
}

.tech-login-box .ant-form-item-control-input {
  min-height: 50px !important;
}

.tech-login-box .ant-pro-form-login-main {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* 修复密码框眼睛图标 */
.tech-login-box .ant-input-password-icon {
  color: rgba(77, 166, 255, 0.8) !important;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

/* 防止页面抖动 */
body,
html {
  overflow-x: hidden;
  height: 100%;
}

/* 修复粒子效果，防止引起页面抖动 */
.particle {
  position: fixed;
  pointer-events: none;
  z-index: 1;
}

/* 添加到现有的CSS文件末尾 */

/* 记住我复选框样式 */
.remember-me-checkbox .ant-checkbox-wrapper {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s;
}

.remember-me-checkbox .ant-checkbox-inner {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: rgba(77, 166, 255, 0.5);
  border-radius: 3px;
  transition: all 0.3s;
}

.remember-me-checkbox .ant-checkbox-checked .ant-checkbox-inner {
  background-color: #4da6ff;
  border-color: #4da6ff;
}

.remember-me-checkbox .ant-checkbox-wrapper:hover .ant-checkbox-inner {
  border-color: #4da6ff;
}

.remember-me-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  transition: all 0.3s;
}

.remember-me-checkbox .ant-checkbox-wrapper:hover .remember-me-text {
  color: #4da6ff;
}

/* 添加复选框选中时的动画效果 */
.remember-me-checkbox .ant-checkbox-checked .ant-checkbox-inner::after {
  transform: rotate(45deg) scale(1.2);
  transition: all 0.3s cubic-bezier(0.12, 0.4, 0.29, 1.46);
}

/* 调整登录框整体高度和间距 */
.tech-login-box {
  padding: 20px 32px;
}

.tech-login-header {
  margin-bottom: 16px;
}

/* 调整表单项间距 */
.ant-form-item {
  margin-bottom: 12px !important;
}

/* 调整记住我复选框样式 */
.remember-me-checkbox {
  margin: 0;
}

/* 移除记住我与密码框之间的间距 */
.ant-pro-form-login-main .ant-form-item:last-child {
  margin-bottom: 0 !important;
}

/* 调整登录按钮上方间距 */
.ant-pro-form-login-main {
  gap: 12px;
}

/* 确保记住我复选框与密码框之间没有间距 */
.ant-pro-form-login-main .ant-form-item + div {
  margin-top: 0 !important;
}

/* 调整登录按钮上方间距 */
.ant-pro-form-login-main {
  gap: 16px;
}
